//Js: HungNQ - Control flash player
//------------------------------------

function playSong(id, pfile, pimage, ptitle){
    addItem('mPlayer',{file:pfile, image:pimage,title:ptitle});
    sendEvent('mPlayer','playitem',getLength('mPlayer')-1);
};
function addSong(id, pfile, pimage, ptitle){
    var items = getLength('mPlayer');
    addItem('mPlayer',{file:pfile, image:pimage,title:ptitle}); 
};
function removeSong(id, iOrder){
    
    removeItem('mPlayer',iOrder);
};